home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
FCOMBINE.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
42 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_FCombine(cFileName, cInsFileName, nInsByte ) --> nBytesWritten
PARAMETERS:
cFileName : File name to insert cInsFileName into
cInsFileName : File to be inserted into cFileName at nInsByte
nInsByte : Byte number at which to begin insertion
SHORT:
Comine two files by inserting one into the other at a specified byte.
DESCRIPTION:
_FCombine() combines two files by inserting one into the other at a specific
byte.
nInsByte will typically be derived from some other process which has opened
the first file and determined where it needs to insert the second file.
It is handy for finding and replacing tokens in text or binary files with the
contents of other files.
NOTE:
EXAMPLE:
_FCombine('FILE1.TXT','FILE2.TXT',4290)
Result: FILE2.TXT is inserted into FILE1.TXT at byte offset 4290, (from
beginning of file).
******************************************************************************/